package com.pounds.mapper;

import com.pounds.pojo.User;
import com.pounds.pojo.UserInfo;

import java.util.List;

public interface UserMapper {
    List<User> getUsers();
    void newUser(String username,String account,String password);
    void newUserInfo(String username,String account);
    String findUserAccount(String account);
    String findUserPassword(String account,String password);
    List<UserInfo> getUserInfo(String account);
    void setUserInfo(String username,String account,String sex,int age,String introduce);
    void setUserPassword(String account,String password);
}
